package com.kuang.dao;

import com.kuang.pojo.Students;
import com.mchange.v1.xml.StdErrErrorHandler;

import java.util.List;

public interface StudentMapper {

    //add a student data
    int addStudent(Students student);

    //delete a student data use Sno
    int deleteStudentBySno(String Sno);

    //update a student data
    int updateStudent(Students student);

    //search a student data use Sno
    Students queryStudentBySno(String Sno);

    //search all students data
    List<Students> queryAllStudent();

}
